package com.buyingtickets.entity;

import java.util.Date;

/**
 * @author Hexz
 * @date 2021/6/23 23:09
 */
public class StopoverStation {
    private int stopOverId;//经停ID
    private Train train;//列车对象
    private UnitInterval unit;//单元区间对象
    private int siteOrder;//站点顺序
    private Site site;//站点对象
    private String arrivalTime;//到站时间

    public StopoverStation() {
    }


    @Override
    public String toString() {
        return "StopoverStation{" +
                "stopOverId=" + stopOverId +
                ", train=" + train +
                ", unit=" + unit +
                ", siteOrder=" + siteOrder +
                ", site=" + site +
                ", arrivalTime='" + arrivalTime + '\'' +
                '}';
    }

    public String getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(String arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public int getStopOverId() {
        return stopOverId;
    }

    public void setStopOverId(int stopOverId) {
        this.stopOverId = stopOverId;
    }

    public Train getTrain() {
        return train;
    }

    public void setTrain(Train train) {
        this.train = train;
    }

    public UnitInterval getUnit() {
        return unit;
    }

    public void setUnit(UnitInterval unit) {
        this.unit = unit;
    }

    public int getSiteOrder() {
        return siteOrder;
    }

    public void setSiteOrder(int siteOrder) {
        this.siteOrder = siteOrder;
    }

    public Site getSite() {
        return site;
    }

    public void setSite(Site site) {
        this.site = site;
    }
}
